package com.yq.service;

import com.yq.model.bo.AddAdminBO;
import com.yq.model.bo.AdminInfoBO;
import com.yq.model.bo.AdminLoginBO;
import com.yq.model.po.Admin;
import com.yq.model.vo.AdminInfoVO;

import java.util.List;

public interface AdminService {
    int login(AdminLoginBO adminLoginBO);

    List<AdminInfoVO> queryAllAdmin();

    int addAdmin(AddAdminBO addAdminBO);

    AdminInfoVO queryById(int id);

    int updateAdminInfo(AdminInfoBO adminInfoBO);

    int deleteAdminById(int id);

    List<AdminInfoVO> getSearchAdmins(AdminInfoBO adminInfoBO);
}
